<script setup lang="ts">
import { login } from '@/api/auth'

onMounted(() => {
  console.log('Hello, World!')

  login({ account_name: 'admin', password: '123456' })
    .then((res) => {
      console.log(res)
    })
    .catch((err) => {
      console.error(err)
    })
})
</script>
<template>
  <main>
    <TheWelcome />
  </main>
</template>
